import { MobileAds } from '@site/src/components/mobile-ads';

<MobileAds />

# Sequelize Versioning Policy

Sequelize follows semantic versioning (semver) principles. [Learn more about semver here](https://semver.org/).

This page regroups information related to which engines versions are supported by Sequelize

## Releases

| Sequelize                       | [Node.js][node-releases] | [Typescript][ts-releases] | Release Date | EOL        |
| ------------------------------- | ------------------------ | ------------------------- | ------------ | ---------- |
| [7 (alpha)][sequelize-core]     | >= 18.0.0                | >= 5.0                    | ❓           | ❓         |
| [6 (current)][sequelize-legacy] | >= 10                    | >= 4.1                    | 2020-06-24   | ❓         |
| 5 (eol)                         | >=6                      | >= 3.1                    | 2019-03-13   | 2022-01-01 |

\* ❓ means the date has not been determined yet.

[node-releases]: https://nodejs.org/en/about/releases/
[ts-releases]: https://github.com/microsoft/TypeScript/releases
[sequelize-core]: https://www.npmjs.com/package/@sequelize/core
[sequelize-legacy]: https://www.npmjs.com/package/sequelize

## PostgreSQL Support Table

In Sequelize 6, PostgreSQL requires the installation of the [pg][pg] (or [pg-native]) npm package.
[Read more about this here](/docs/v6/other-topics/dialect-specific-things/#postgresql).

:::note

According to [pg's documentation](https://node-postgres.com/#version-compatibility),
only pg >= 8.2 is compatible with Node 14.
If you're trying to use Sequelize 6 in Node 14 or newer, use that version of pg.

:::

| Sequelize   | [PostgreSQL][postgres] | [pg]                                         | [pg-native] |
| ----------- | ---------------------- | -------------------------------------------- | ----------- |
| 7 (alpha)   | >= 11                  | N/A[^1]                                      | >=3.0.0     |
| 6 (current) | >= 9.5                 | >= 7.8 (node < 14) <br/> >= 8.2 (node >= 14) | >=3.0.0     |

[postgres]: https://www.postgresql.org/support/versioning/
[pg]: https://www.npmjs.com/package/pg
[pg-native]: https://www.npmjs.com/package/

## MariaDB Support Table

In Sequelize 6, MariaDB requires the installation of the [mariadb][mariadb-npm] npm package.
[Read more about this here](/docs/v6/other-topics/dialect-specific-things/#mariadb).

| Sequelize   | [MariaDB][mariadb] | [mariadb (npm)][mariadb-npm] |
| ----------- | ------------------ | ---------------------------- |
| 7 (alpha)   | >=10.4.30          | N/A[^1]                      |
| 6 (current) | >=10.3             | ^2.3.3                       |

[mariadb]: https://mariadb.org/about/#maintenance-policy
[mariadb-npm]: https://www.npmjs.com/package/mariadb

## MySQL Support Table

In Sequelize 6, MySQL requires the installation of the [mysql2] npm package.
[Read more about this here](/docs/v6/other-topics/dialect-specific-things/#mysql).

| Sequelize   | [MySQL][mysql] | [mysql2] |
| ----------- | -------------- | -------- |
| 7 (alpha)   | >=8.0.19       | N/A[^1]  |
| 6 (current) | ^5.7, ^8.0     | >= 2.3.3 |

[mysql]: https://endoflife.date/mysql
[mysql2]: https://www.npmjs.com/package/mysql2

## Microsoft SQL Server (mssql) Support Table

In Sequelize 6, MSSQL requires the installation of the [tedious] npm package.
[Read more about this here](/docs/v6/other-topics/dialect-specific-things/#microsoft-sql-server-mssql).

| Sequelize   | [SQL Server][mssql] | [tedious] |
| ----------- | ------------------- | --------- |
| 7 (alpha)   | 2017-2022           | N/A[^1]   |
| 6 (current) | 2014-2019           | ^8.3.0    |

[mssql]: https://endoflife.date/mssqlserver
[tedious]: https://www.npmjs.com/package/tedious

## SQLite Support Table

In Sequelize 6, Sequelize requires the installation of the `sqlite3` npm library.
[Read more about this here](/docs/v6/other-topics/dialect-specific-things/#sqlite).

Sequelize 7 still uses `sqlite3` as the driver for SQLite, but does not require it to be installed manually.

:::note

sqlite3@^4 has security vulnerabilities which are fixed by the [@vscode/sqlite3](https://www.npmjs.com/package/@vscode/sqlite3) fork. We recommend using that if you can not update to sqlite3@^5.0.3.

:::

| Sequelize   | [sqlite3]                                      |
| ----------- | ---------------------------------------------- |
| 6 (current) | `@vscode/sqlite3@^4.0.12`, or `sqlite3@^5.0.3` |

[sqlite3]: https://www.npmjs.com/package/sqlite3

## Snowflake Support Table

In Sequelize 6, Snowflake requires the installation of the [snowflake-sdk] npm package.
[Read more about this here](/docs/v6/other-topics/dialect-specific-things/#snowflake-experimental).

:::note

While this dialect is included in Sequelize,
support for Snowflake is limited as it is not handled by the core team.

:::

| Sequelize   | [Snowflake](https://www.snowflake.com/pricing/) | [snowflake-sdk] |
| ----------- | ----------------------------------------------- | --------------- |
| 7 (alpha)   | all                                             | N/A[^1]         |
| 6 (current) | all                                             | ^1.6.0          |

[snowflake-sdk]: https://www.npmjs.com/package/snowflake-sdk

## DB2 for LUW Support Table

In Sequelize 6, DB2 for Linux, Unix & Windows requires the installation of the [ibm_db] npm package.

| Sequelize   | [Db2][db2] | [ibm_db] |
| ----------- | ---------- | -------- |
| 7 (alpha)   | >= 11.5    | N/A[^1]  |
| 6 (current) | >= 11.5    | ^2.8.0   |

[db2]: https://www.ibm.com/support/pages/db2-distributed-end-support-eos-dates
[ibm_db]: https://www.npmjs.com/package/ibm_db

## DB2 for IBM i Support Table

:::note

While this dialect is included in Sequelize,
support for DB2 for IBM i is limited as it is not handled by the core team.

:::

| Sequelize   | [Db2 for IBM i][ibmi] |
| ----------- | --------------------- |
| 7 (alpha)   | unknown               |
| 6 (current) | not available         |

[ibmi]: https://www.ibm.com/support/pages/db2-ibm-i
[odbc]: https://www.npmjs.com/package/odbc

## Oracle Database Support Table

In Sequelize 6, Oracle Database requires the installation of the [node-oracledb] npm package.
[Read more about this here](/docs/v6/other-topics/dialect-specific-things/#oracle-database).

| Sequelize   | [Oracle Database] | [node-oracledb] |
| ----------- | ----------------- | --------------- |
| 7 (alpha)   | upcoming          | N/A[^1]         |
| 6 (current) | >= 18.4           | ^5.4.0          |

[Oracle Database]: https://www.oracle.com/database/technologies/oracle-database-software-downloads.html
[node-oracledb]: https://www.npmjs.com/package/oracledb

[^1]: Connector libraries do not need to be installed manually anymore.
[^⚠️2]: Support for mariadb 3 has not been completed yet https://github.com/sequelize/sequelize/pull/14187
